<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Leantime - 面向所有人的直观项目管理工具</title>
    <link rel="stylesheet" href="https://cdn.staticfile.org/font-awesome/6.4.0/css/all.min.css">
    <link rel="stylesheet" href="https://cdn.staticfile.org/tailwindcss/2.2.19/tailwind.min.css">
    <link href="https://fonts.googleapis.com/css2?family=Noto+Serif+SC:wght@400;500;600;700&family=Noto+Sans+SC:wght@300;400;500;700&display=swap" rel="stylesheet">
    <script src="https://cdn.jsdelivr.net/npm/mermaid@latest/dist/mermaid.min.js"></script>
    <style>
        body {
            font-family: 'Noto Sans SC', Tahoma, Arial, Roboto, "Droid Sans", "Helvetica Neue", "Droid Sans Fallback", "Heiti SC", "Hiragino Sans GB", Simsun, sans-serif;
            color: #2d3748;
            line-height: 1.6;
        }
        .serif {
            font-family: 'Noto Serif SC', serif;
        }
        .hero-gradient {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        }
        .card-hover {
            transition: all 0.3s ease;
        }
        .card-hover:hover {
            transform: translateY(-5px);
            box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
        }
        .feature-icon {
            width: 60px;
            height: 60px;
            border-radius: 16px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 1.5rem;
        }
        .first-letter:first-letter {
            font-size: 3.2em;
            float: left;
            line-height: 0.8;
            margin-right: 0.5rem;
            color: #667eea;
            font-weight: 700;
        }
    </style>
</head>
<body class="bg-gray-50">
    <!-- Hero Section -->
    <section class="hero-gradient text-white py-24 px-4 md:px-0">
        <div class="container mx-auto max-w-5xl px-4">
            <div class="flex flex-col md:flex-row items-center">
                <div class="md:w-1/2 mb-12 md:mb-0">
                    <h1 class="text-4xl md:text-5xl font-bold mb-6 leading-tight serif">Leantime<br>让项目管理变得简单</h1>
                    <p class="text-xl mb-8 opacity-90">专为神经多样性用户设计，开源直观的项目管理解决方案</p>
                    <div class="flex flex-wrap gap-4">
                        <a href="https://github.com/Leantime/leantime" target="_blank" class="bg-white text-indigo-700 hover:bg-gray-100 px-6 py-3 rounded-lg font-medium transition duration-300 flex items-center">
                            <i class="fab fa-github mr-2"></i> GitHub 仓库
                        </a>
                        <a href="#features" class="border-2 border-white text-white hover:bg-white hover:text-indigo-700 px-6 py-3 rounded-lg font-medium transition duration-300">
                            探索功能
                        </a>
                    </div>
                </div>
                <div class="md:w-1/2 flex justify-center">
                    <img src="https://leantime.io/wp-content/uploads/2021/05/leantime-task-management-1.png" alt="Leantime界面展示" class="rounded-xl shadow-2xl max-w-full h-auto border-4 border-white">
                </div>
            </div>
        </div>
    </section>

    <!-- Problem Solution Section -->
    <section class="py-16 px-4 bg-white">
        <div class="container mx-auto max-w-5xl">
            <div class="flex flex-col md:flex-row items-center mb-16">
                <div class="md:w-1/2 mb-8 md:mb-0 md:pr-8">
                    <h2 class="text-3xl font-bold mb-6 serif">它能解决什么问题？</h2>
                    <p class="text-lg mb-6 first-letter">许多项目管理工具界面复杂、学习曲线陡峭，或功能冗余，不适合小型团队或非专业项目经理。例如，Jira 的设置繁琐，Trello 缺乏战略规划深度，而这些工具对神经多样性用户（如ADHD患者）可能造成认知负担，难以保持任务优先级清晰或持续动力。</p>
                    <p class="text-lg font-medium bg-indigo-50 p-4 rounded-lg border-l-4 border-indigo-500"><strong>Leantime</strong> 正是为解决这些问题而生，通过简化的界面、灵活的功能和无障碍设计，帮助用户高效管理项目，同时降低使用门槛。</p>
                </div>
                <div class="md:w-1/2">
                    <div class="bg-gray-100 p-6 rounded-xl">
                        <div class="mermaid">
                            graph TD
                                A[项目管理痛点] --> B[复杂界面]
                                A --> C[陡峭学习曲线]
                                A --> D[功能冗余]
                                A --> E[神经多样性不友好]
                                F[Leantime解决方案] --> G[简化界面]
                                F --> H[直观操作]
                                F --> I[核心功能聚焦]
                                F --> J[无障碍设计]
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </section>

    <!-- Features Section -->
    <section id="features" class="py-16 px-4 bg-gray-50">
        <div class="container mx-auto max-w-5xl">
            <h2 class="text-3xl font-bold text-center mb-12 serif">核心功能概述</h2>
            <div class="grid md:grid-cols-2 gap-8">
                <!-- Feature 1 -->
                <div class="bg-white rounded-xl p-8 shadow-md card-hover">
                    <div class="feature-icon bg-indigo-100 text-indigo-600">
                        <i class="fas fa-tasks text-2xl"></i>
                    </div>
                    <h3 class="text-xl font-bold mb-4">灵活的任务管理视图</h3>
                    <p class="text-gray-600">支持看板、表格和列表视图，包含子任务和依赖关系管理，帮助用户按偏好组织工作，保持清晰和专注。</p>
                </div>
                
                <!-- Feature 2 -->
                <div class="bg-white rounded-xl p-8 shadow-md card-hover">
                    <div class="feature-icon bg-purple-100 text-purple-600">
                        <i class="fas fa-bullseye text-2xl"></i>
                    </div>
                    <h3 class="text-xl font-bold mb-4">目标导向的规划</h3>
                    <p class="text-gray-600">通过里程碑和目标面板，将任务与时间线或甘特图关联，便于将日常工作与长期目标对齐。</p>
                </div>
                
                <!-- Feature 3 -->
                <div class="bg-white rounded-xl p-8 shadow-md card-hover">
                    <div class="feature-icon bg-blue-100 text-blue-600">
                        <i class="fas fa-lightbulb text-2xl"></i>
                    </div>
                    <h3 class="text-xl font-bold mb-4">创意与知识管理</h3>
                    <p class="text-gray-600">内置白板和文档整合功能（支持 Google 或 Microsoft 文档），便于头脑风暴、思维导图和知识集中存储，简化从创意到执行的流程。</p>
                </div>
                
                <!-- Feature 4 -->
                <div class="bg-white rounded-xl p-8 shadow-md card-hover">
                    <div class="feature-icon bg-green-100 text-green-600">
                        <i class="fas fa-clock text-2xl"></i>
                    </div>
                    <h3 class="text-xl font-bold mb-4">时间跟踪与报告</h3>
                    <p class="text-gray-600">通过仪表板或时间表跟踪时间，提供项目进度和工时报告，确保透明度和数据驱动的决策。</p>
                </div>
                
                <!-- Feature 5 -->
                <div class="bg-white rounded-xl p-8 shadow-md card-hover md:col-span-2">
                    <div class="feature-icon bg-yellow-100 text-yellow-600 mx-auto">
                        <i class="fas fa-universal-access text-2xl"></i>
                    </div>
                    <h3 class="text-xl font-bold mb-4 text-center">无障碍设计</h3>
                    <p class="text-gray-600 text-center max-w-3xl mx-auto">专为神经多样性用户优化，使用表情符号优先级和直观界面，减少认知负荷。特别考虑了ADHD、孤独症和阅读障碍等神经多样性用户的需求。</p>
                </div>
            </div>
        </div>
    </section>

    <!-- Use Cases Section -->
    <section class="py-16 px-4 bg-white">
        <div class="container mx-auto max-w-5xl">
            <h2 class="text-3xl font-bold text-center mb-12 serif">使用场景</h2>
            
            <div class="grid md:grid-cols-3 gap-8 mb-16">
                <!-- Use Case 1 -->
                <div class="bg-gray-50 rounded-xl p-6 shadow-sm card-hover">
                    <div class="bg-indigo-100 text-indigo-600 w-12 h-12 rounded-lg flex items-center justify-center mb-4">
                        <i class="fas fa-rocket text-xl"></i>
                    </div>
                    <h3 class="text-xl font-bold mb-3">初创企业管理多项目</h3>
                    <p class="text-gray-600 mb-4">一个小型初创团队需要同时跟踪产品开发和营销活动。Leantime 的看板视图帮助可视化任务，里程碑功能确保交付物与战略目标一致。</p>
                    <div class="bg-indigo-50 p-3 rounded-lg">
                        <p class="text-sm font-medium text-indigo-700"><i class="fas fa-question-circle mr-1"></i> Leantime 的目标导向工具如何帮助你的团队将日常任务与长期目标对齐？</p>
                    </div>
                </div>
                
                <!-- Use Case 2 -->
                <div class="bg-gray-50 rounded-xl p-6 shadow-sm card-hover">
                    <div class="bg-purple-100 text-purple-600 w-12 h-12 rounded-lg flex items-center justify-center mb-4">
                        <i class="fas fa-user-tie text-xl"></i>
                    </div>
                    <h3 class="text-xl font-bold mb-3">自由职业者管理客户工作</h3>
                    <p class="text-gray-600 mb-4">一名自由职业设计师同时服务多个客户。Leantime 的客户访问功能便于分享项目进展，时间跟踪确保计费准确。</p>
                </div>
                
                <!-- Use Case 3 -->
                <div class="bg-gray-50 rounded-xl p-6 shadow-sm card-hover">
                    <div class="bg-blue-100 text-blue-600 w-12 h-12 rounded-lg flex items-center justify-center mb-4">
                        <i class="fas fa-users text-xl"></i>
                    </div>
                    <h3 class="text-xl font-bold mb-3">神经多样性团队协作</h3>
                    <p class="text-gray-600 mb-4">一个有ADHD成员的团队使用 Leantime 的简洁界面和表情符号优先级保持专注。看板视图减少信息过载，集成日历确保截止日期清晰。</p>
                </div>
            </div>
        </div>
    </section>

    <!-- Comparison Section -->
    <section class="py-16 px-4 bg-indigo-50">
        <div class="container mx-auto max-w-5xl">
            <h2 class="text-3xl font-bold text-center mb-12 serif">优势与特色</h2>
            
            <div class="bg-white rounded-xl p-8 shadow-md mb-12">
                <div class="grid md:grid-cols-2 gap-8">
                    <div>
                        <h3 class="text-xl font-bold mb-4 text-indigo-600">Leantime 的优点</h3>
                        <ul class="space-y-4">
                            <li class="flex items-start">
                                <div class="bg-indigo-100 text-indigo-600 rounded-full w-6 h-6 flex items-center justify-center mr-3 mt-1 flex-shrink-0">
                                    <i class="fas fa-check text-xs"></i>
                                </div>
                                <span class="text-gray-700"><strong>神经多样性设计</strong>：针对 ADHD、孤独症和阅读障碍用户优化，采用视觉线索和极简设计</span>
                            </li>
                            <li class="flex items-start">
                                <div class="bg-indigo-100 text-indigo-600 rounded-full w-6 h-6 flex items-center justify-center mr-3 mt-1 flex-shrink-0">
                                    <i class="fas fa-check text-xs"></i>
                                </div>
                                <span class="text-gray-700"><strong>开源灵活性</strong>：基于 AGPLv3 许可，允许自托管和定制，适合需要数据控制的团队</span>
                            </li>
                            <li class="flex items-start">
                                <div class="bg-indigo-100 text-indigo-600 rounded-full w-6 h-6 flex items-center justify-center mr-3 mt-1 flex-shrink-0">
                                    <i class="fas fa-check text-xs"></i>
                                </div>
                                <span class="text-gray-700"><strong>一站式解决方案</strong>：集任务管理、创意和报告功能于一体，减少对多工具的依赖</span>
                            </li>
                        </ul>
                    </div>
                    <div>
                        <h3 class="text-xl font-bold mb-4 text-gray-500">局限性</h3>
                        <ul class="space-y-4">
                            <li class="flex items-start">
                                <div class="bg-gray-200 text-gray-600 rounded-full w-6 h-6 flex items-center justify-center mr-3 mt-1 flex-shrink-0">
                                    <i class="fas fa-exclamation text-xs"></i>
                                </div>
                                <span class="text-gray-700">缺乏原生 Git 集成，对软件开发团队可能不便</span>
                            </li>
                            <li class="flex items-start">
                                <div class="bg-gray-200 text-gray-600 rounded-full w-6 h-6 flex items-center justify-center mr-3 mt-1 flex-shrink-0">
                                    <i class="fas fa-exclamation text-xs"></i>
                                </div>
                                <span class="text-gray-700">部分高级功能需付费插件，自托管用户可能面临额外成本</span>
                            </li>
                            <li class="flex items-start">
                                <div class="bg-gray-200 text-gray-600 rounded-full w-6 h-6 flex items-center justify-center mr-3 mt-1 flex-shrink-0">
                                    <i class="fas fa-exclamation text-xs"></i>
                                </div>
                                <span class="text-gray-700">界面虽简洁，但与商业工具相比略显朴素</span>
                            </li>
                        </ul>
                    </div>
                </div>
            </div>
        </div>
    </section>

    <!-- Getting Started Section -->
    <section class="py-16 px-4 bg-white">
        <div class="container mx-auto max-w-5xl">
            <h2 class="text-3xl font-bold text-center mb-12 serif">上手指南</h2>
            
            <div class="bg-gray-50 rounded-xl p-8 shadow-md mb-8">
                <h3 class="text-xl font-bold mb-6 text-gray-800">选择安装方式</h3>
                
                <div class="grid md:grid-cols-2 gap-6">
                    <!-- Docker -->
                    <div class="bg-white rounded-lg p-6 border border-gray-200">
                        <div class="flex items-center mb-4">
                            <div class="bg-blue-100 text-blue-600 rounded-lg w-10 h-10 flex items-center justify-center mr-4">
                                <i class="fab fa-docker text-xl"></i>
                            </div>
                            <h4 class="text-lg font-bold">Docker（推荐）</h4>
                        </div>
                        <div class="bg-gray-800 text-gray-100 p-4 rounded-lg font-mono text-sm overflow-x-auto">
                            git clone https://github.com/Leantime/docker-leantime.git<br>
                            cd docker-leantime<br>
                            cp sample.env .env<br>
                            # 调整数据库配置<br>
                            docker-compose up -d
                        </div>
                    </div>
                    
                    <!-- Manual -->
                    <div class="bg-white rounded-lg p-6 border border-gray-200">
                        <div class="flex items-center mb-4">
                            <div class="bg-purple-100 text-purple-600 rounded-lg w-10 h-10 flex items-center justify-center mr-4">
                                <i class="fas fa-server text-xl"></i>
                            </div>
                            <h4 class="text-lg font-bold">手动安装</h4>
                        </div>
                        <div class="space-y-2">
                            <p class="text-gray-600">从 <a href="https://github.com/Leantime/leantime/releases" target="_blank" class="text-indigo-600 hover:underline">GitHub Releases</a> 下载最新版本</p>
                            <p class="text-gray-600">安装 PHP 8.0+、MySQL 及必要扩展</p>
                            <p class="text-gray-600">解压到服务器并配置 .env 文件</p>
                        </div>
                    </div>
                </div>
            </div>
            
            <div class="grid md:grid-cols-3 gap-6">
                <!-- Step 1 -->
                <div class="bg-gray-50 rounded-lg p-6 border border-gray-200">
                    <div class="flex items-center mb-3">
                        <div class="bg-indigo-600 text-white rounded-full w-8 h-8 flex items-center justify-center mr-3 font-bold">1</div>
                        <h4 class="font-bold">访问设置</h4>
                    </div>
                    <p class="text-gray-600">手动安装后，浏览器访问 <code class="bg-gray-200 px-1 rounded">&lt;yourdomain.com&gt;/install</code>；Docker 部署访问映射端口（如 <code class="bg-gray-200 px-1 rounded">http://localhost:80</code>）。按向导配置数据库和管理员账户。</p>
                </div>
                
                <!-- Step 2 -->
                <div class="bg-gray-50 rounded-lg p-6 border border-gray-200">
                    <div class="flex items-center mb-3">
                        <div class="bg-indigo-600 text-white rounded-full w-8 h-8 flex items-center justify-center mr-3 font-bold">2</div>
                        <h4 class="font-bold">创建项目</h4>
                    </div>
                    <p class="text-gray-600">登录后，点击"新建项目"，定义目标和里程碑，在看板或列表视图中添加任务。</p>
                </div>
                
                <!-- Step 3 -->
                <div class="bg-gray-50 rounded-lg p-6 border border-gray-200">
                    <div class="flex items-center mb-3">
                        <div class="bg-indigo-600 text-white rounded-full w-8 h-8 flex items-center justify-center mr-3 font-bold">3</div>
                        <h4 class="font-bold">邀请团队</h4>
                    </div>
                    <p class="text-gray-600">在用户管理面板添加成员，分配角色，设置客户访问权限以便外部协作。</p>
                </div>
            </div>
        </div>
    </section>

    <!-- CTA Section -->
    <section class="py-16 px-4 bg-indigo-600 text-white">
        <div class="container mx-auto max-w-3xl text-center">
            <h2 class="text-3xl font-bold mb-6 serif">准备好体验直观的项目管理了吗？</h2>
            <p class="text-xl mb-8 opacity-90">Leantime 是小型团队、初创企业和个体用户的理想选择，特别适合神经多样性用户</p>
            <a href="https://github.com/Leantime/leantime" target="_blank" class="bg-white text-indigo-700 hover:bg-gray-100 px-8 py-4 rounded-lg font-medium transition duration-300 inline-flex items-center">
                <i class="fab fa-github mr-2"></i> 访问 GitHub 仓库
            </a>
        </div>
    </section>

    <script>
        mermaid.initialize({
            startOnLoad: true,
            theme: 'default',
            flowchart: {
                useMaxWidth: true,
                htmlLabels: true,
                curve: 'basis'
            }
        });
        
        // 微交互效果
        document.querySelectorAll('.card-hover').forEach(card => {
            card.addEventListener('mouseenter', function() {
                this.style.transform = 'translateY(-5px)';
                this.style.boxShadow = '0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04)';
            });
            card.addEventListener('mouseleave', function() {
                this.style.transform = '';
                this.style.boxShadow = '';
            });
        });
    </script>
</body>
</html>